package com.ysd.lis.service;

import com.ysd.common.Result;
import com.ysd.lis.entity.TPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ysd.lis.entity.TPermissionClass;

/**
 * <p>
 * cold_chain.t_permission 服务类
 * </p>
 *
 * @author Peng
 * @since 2021-10-10
 */
public interface TPermissionService extends IService<TPermission> {

    Result findPermissionClassList();

    Result findPermissionListByClassId(String classId);

    Result addPermissionClass(TPermissionClass tPermissionClass);

    Result editPermissionClass(TPermissionClass tPermissionClass);

    Result deletePermissionClass(TPermissionClass tPermissionClass);

    Result addPermission(TPermission tPermission);

    Result editPermission(TPermission tPermission);

    Result deletePermission(TPermission tPermission);
}
